package cn.xhjava.crm.settings.service;

import cn.xhjava.crm.settings.domain.DicType;
import cn.xhjava.crm.settings.domain.DicValue;

import java.util.List;
import java.util.Map;

/**
 * @author Xiahu
 * @create 2023/7/25 0025
 */
public interface DicTypeService {

    List<DicType> selectForPage(Map<String, Object> map) throws Exception;

    int selectCountForPage(Map<String, Object> map) throws Exception;

    int delete(String[] id) throws Exception;

    int add(DicType dicType) throws Exception;

    DicType selectByCode(String code) throws Exception;

    DicType selectDetailById(String id) throws Exception;

    int update(DicType dicType) throws Exception;

    List<DicValue> selectAll() throws Exception;

}
